<?php

return [
  'v1/login' => ['api/user/login/', ['method'=>'post']],
  'v1/register' => ['api/user/register/', ['method'=>'post']],
  'v1/avatar'   => ['api/user/upload_head_img', ['method'=>'post']],
  'v1/changePwd'=> ['api/user/change_pwd', ['method'=>'post']],
  'v1/findPwd'  => ['api/user/find_pwd', ['method'=>'post']],
  'v1/bindUsername' => ['api/user/bind_username', ['method'=>'post']],
  'v1/nickname'  => ['api/user/set_nickname', ['method'=>'post']],
  'v1/getCode' => ['api/msg_code/get_code', ['method'=>'get']],
  'v1/addArticle' => ['api/article/add_article', ['method'=>'post']],
  'v1/articleList' => ['api/article/article_list', ['method'=>'get']],
  'v1/articleDetail'    => ['api/article/article_detail', ['method'=>'get']],
  'v1/modifyArticle'   =>  ['api/article/update_article', ['method'=>'post']],
  'v1/delArticle'   => ['api/article/del_article', ['method'=>'get']]
];

